*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}
body{
  background-color: #efefef;
}
.header{
  width: 100%;
  height: 166px;
  min-width: 1200px;
  background-color: rgb(0, 0, 0);
}
.header .navheader{
  width: 1226px;
  height: 110px;
  
  margin: 0 auto;
  text-align: center;
  line-height: 110px;
  background-image: url(../images/20241014160920.png);
  background-position:bottom 200% center; 
  background-size:auto 130px;
  background-repeat: no-repeat;

}
.nav{
  width: 100%;
  height: 56px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, .2);
}
.nav ul{
  width: 1226px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}
.nav ul .link{
  width: 110px;
  height: 56px;
  /* background-color: aqua; */
  line-height: 56px;
  text-align: center;
  color: #fff;
}
.nav ul .serch{
  width: 236px;
  height: 56px;
  display: flex;
}
.serch input{
  border: none;
  outline: none;
  line-height: 56px;
  width: 136px;  
  padding: 0 10px;
  font-size: 18px;
  color: #fff;
  background-color: rgba(255, 255, 255, .3);
}
.serch button{
  width: 95px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background-color: rgba(0, 0, 0, .3);
  border: none;
  outline: none;
}
.serch button .icon{
  width: 30px;
  height: 30px;
  background-image: url(../images/搜索.png);
  background-size: 30px 30px;
  background-repeat: no-repeat;
  background-position: center;
}

/* 首页内容部分 */
.content{
  width: 1200px;
  margin: 20px auto 0px;
  display: flex;
  /* background-color: #bfa; */
}
.bookList{
  width: 1000px;
  display: flex;
  flex-wrap: wrap;
  /* background-color: tomato; */
}
.bookItem{
  width: 200px;
  height: 300px;
  margin: 5px;
  text-align: center;
  position: relative;
  /* background-color: aquamarine; */
  box-shadow: 0 1px 2px #efefef;
  background-color: #fff;

}
.bookItem img{
  width: 80%;
  height: auto;
}
.bookItem h3{
  font-size: 17px;
  font-family: '微软雅黑';
  border-bottom: 1px dashed #ccc;
  margin: 10px auto;
}
.bookItem p{
  font-size: 18px;
}
.bookItem .cataory{
  position: absolute;
  width: 70px;
  height: 30px;
  left: 10px;
  top: 10px;
  text-align: center;
  line-height: 30px;
  background-color: rgba(0, 0, 0, .3);
  color: #fff;
}
